﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PMS.XCMG.OpenApi.Models
{
    /// <summary>
    /// 10=MES下发生产订单实体;
    /// </summary>
    public class OrderData
    {
        /// <summary>
        /// * 生产批次号(MES系统编码)
        /// </summary>
        public string BatchCode { set; get; }

        /// <summary>
        /// * 订单编码
        /// </summary>
        public string OrderNo { set; get; }

        /// <summary>
        /// * 订单物料编码（生产产品的MES系统编码）
        /// </summary>
        public string ProductNo { set; get; }

        /// <summary>
        ///  * 订单物料编码(生产产品的工艺编码)
        /// </summary>
        public string ProductAlias { set; get; }

        /// <summary>
        /// 订单物料描述
        /// </summary>
        public string ProductName { set; get; }

        /// <summary>
        /// * 数量
        /// </summary>
        public decimal Quantity { set; get; }

        /// <summary>
        ///  * 计划开始日期(yyyy-MM-dd)
        /// </summary>
        public string ScheduledStartDate { set; get; }

        /// <summary>
        ///   * 计划结束日期(yyyy-MM-dd)
        /// </summary>
        public string ScheduledCompleteDate { set; get; }
    }
}
